int x[10];

void main(void)
{
  int i;
  i = 0;

  while(i < 10)
  {
    x[i] = i;
    write(x[i]);
    i = i + 1;
  }

  return;
}
